package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;
import org.springframework.util.StringUtils;

@Getter
@Setter
public class SpendingQueryObject extends QueryObject {
    private Long gradeId = -1L;
    private String paytype;
    private Long payManId = -1L;

    public String getPaytype(){
        return StringUtils.hasLength(paytype) ? paytype : null;
    }
}
